package com.ktjiaoyu.crm.pojo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
@TableName("sys_role")
@Data
public class Role implements Serializable {
  @TableId(value = "role_id",type = IdType.AUTO)
  @TableField("role_id")
  private Integer roleId;
  @TableField("role_name")
  private String roleName;
  @TableField("role_desc")
  private String roleDesc;
  @TableField("role_flag")
  private Integer roleFlag;

  public Role() {

  }
  public Role(String roleName, String roleDesc, Integer roleFlag) {
    this.roleName = roleName;
    this.roleDesc = roleDesc;
    this.roleFlag = roleFlag;
  }
}

